<?xml version="1.0" encoding="UTF-8"?>
<phpunit
    backupGlobals="false"
    backupStaticAttributes="false"
    bootstrap="tests/bootstrap.php"
    colors="true"
    convertErrorsToExceptions="true"
    convertNoticesToExceptions="true"
    convertWarningsToExceptions="true"
    processIsolation="false"
    printerClass="Codedungeon\PHPUnitPrettyResultPrinter\Printer"
    stopOnFailure="false">
    <listeners>
        <listener class="NunoMaduro\Collision\Adapters\Phpunit\Listener" />
    </listeners>
    <testsuites>
        <testsuite name="Application Test Suite">
            <directory>./tests/</directory>
        </testsuite>
        <testsuite name="Application Test Suite">
            <directory>./application/</directory>
        </testsuite>
        <testsuite name="Application Test Suite">
            <directory>./common/</directory>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist>
            <directory suffix=".php">application</directory>
            <directory suffix=".php">common</directory>
        </whitelist>
    </filter>
    <logging>
        <log type="coverage-html" target="runtime/tests/report"/>
    </logging>
    <php>
        <env name="RUNTIME_ENVIRONMENT" value="env.phpunit"/>
    </php>
</phpunit>
